package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.domin.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author 86156
 * @version 1.0
 * @date 2024-10-02 11:08
 */
@Mapper
public interface SubjectCategoryDTOConverter {

    SubjectCategoryDTOConverter instance = Mappers.getMapper(SubjectCategoryDTOConverter.class);

    SubjectCategoryBO convertDTOToBO(SubjectCategoryDTO subjectCategoryDTO);

    SubjectCategoryDTO convertBOToDTO(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryDTO> convertBOListToDTOList(List<SubjectCategoryBO> subjectCategoryDTOS);

}

